import {albumMap} from "./main.js";
import currentAlbum from "./main.js";
export function addPicture(event){
    var file=event.target.files[0];
    var fr=new FileReader();
    fr.onload=function (){
      var img=new Image();
      img.src=fr.result;
      var picture=document.body.querySelector(".picture");
      picture.appendChild(img);
      albumMap[currentAlbum].push(img);
    }
    fr.readAsDataURL(file);
}
